Skip to content

Conversation

@apae89
Copy link
Contributor

@apae89 apae89 commented Dec 3, 2019

…client-side due to chopping of JSON reponse in certain situations (problem related to character encoding). Length must contain the number of bytes calculated using the expected response encoding, instead of the number of characters.
Problem already leads to errors when using some special Unicode characters within response content.

…client-side due to chopping of JSON reponse in certain situations (problem related to character encoding)
@oliemansm
Copy link
Member

Thanks for the fix!

@fkorotkov
Copy link

Another symptom of the issue that some of the requests are hanging infinitely. I'm using Dropwizard as a server and I think Dropwizard tries to wait for the "full" content which never happens.

Thanks for finding it and fixing, @apae89!

@apae89 apae89 deleted the feature/fix_content_length branch June 11, 2020 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants